cURL
curl --request POST \ --url https://api.us1.bfl.ai/v1/flux-pro-1.1-ultra-finetuned \ --header 'Content-Type: application/json' \ --header 'x-key: <api-key>' \ --data '{ "finetune_id": "my-finetune", "finetune_strength": 1.2, "prompt": "A beautiful landscape with mountains and a lake", "seed": 42, "aspect_ratio": "16:9", "safety_tolerance": 2, "output_format": "jpeg", "image_prompt": "<string>", "image_prompt_strength": 0.1, "prompt_upsampling": false, "webhook_url": "<string>", "webhook_secret": "<string>" }'
{ "id": "<string>", "polling_url": "<string>" }
Submits an image generation task with FLUX 1.1 [pro] finetune with ultra mode.
Successful Response
The response is of type object.
object
Was this page helpful?